

#ifndef GLOBALS_VARIABLE_H_
#define GLOBALS_VARIABLE_H_

#include "QueryStructures.h"



//parser related structure
QueryStructures *queryStruct;
char currentlyOpenedDatabase[256];
char executionTime[512];
char numberOfRowsReturned[512];

//cannot return error codes in constructor,
//hack to get error code from there.
int constructorErrorStatus;

bool BPLUSTREE_DEBUG = false;
bool HEAP_VERBOSE = false;
bool COMMON_DEBUG = true;
bool USING_INDEX = false;
bool  USE_CLIENT_SIDE_SORT = false;
bool USE_MMAP = false;
bool IS_CACHE_ON = false;

//long timeTaken, seconds, microSecs;

#endif
